package org.linlinjava.litemall.admin.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用来应付JPA使用的类
 */
@Entity
@Table(name="jpa_entity")
public class JpaEntity {

    @Id
    private Integer id;
    @Column(name="name",length = 1)
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
